wget: Fix compilation without deprecated OpenSSL 1.1 APIs
authorRosen Penev <[email protected]>
Sun, 6 Jan 2019 06:45:32 +0000 (22:45 -0800)
committertripolar <[email protected]>
Fri, 11 Jan 2019 16:28:45 +0000 (17:28 +0100)
The configure script uses a deprecated function to check for libssl. I tried patching configure.ac
and adding PKG_FIXUP:=autoreconf but that causes a different error. This is the simplest fix.

Signed-off-by: Rosen Penev <[email protected]>
net/wget/Makefile

index ad2ce1ecdc913f2d228eda9f53c5007180c627b4..d85861e9a22aed3b9420dbce32bee66e903cb894 100644 (file)
@@ -78,6 +78,9 @@ ifeq ($(BUILD_VARIANT),ssl)
        CONFIGURE_ARGS+= \
                --with-ssl=openssl \
                --with-libssl-prefix="$(STAGING_DIR)/usr"
+
+       CONFIGURE_VARS += \
+               ac_cv_libssl=yes
 endif
 
 ifeq ($(BUILD_VARIANT),nossl)